package com.ruoyi.consume.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 纸箱临时领用对象 carton_apply_temporary
 *
 * @author ruoyi
 * @date 2021-07-27
 */
public class CartonApplyTemporaryCon extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号自动编号，主码 */
    private Long cartonApplyTemporaryId;

    /** 类型外码 */
    @Excel(name = "类型外码")
    private Long cartonTypeId;
    /** 类型 */
    private String cartonType;

    /** 规格 */
    @Excel(name = "规格")
    private String cartonSpecification;

    /** 购自公司 */
    @Excel(name = "购自公司")
    private String originCompany;

    /** 申请量 */
    @Excel(name = "申请量")
    private Long applyAmount;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 申请人外码 */
    @Excel(name = "申请人外码")
    private Long userId;
    /** 申请人 */
    private String userName;

    /** 生产厂长审批状态0表示申请，1表示审批通过，2表示不通过 */
    @Excel(name = "生产厂长审批状态0表示申请，1表示审批通过，2表示不通过")
    private Long approvalStatusProduct;

    /** 技术厂长审批状态0表示申请，1表示审批通过，2表示不通过 */
    @Excel(name = "技术厂长审批状态0表示申请，1表示审批通过，2表示不通过")
    private Long approvalStatusTechnology;

    /** 领用状态未领用 | 已领用 */
    @Excel(name = "领用状态未领用 | 已领用")
    private String consumeStatus;

    public void setCartonApplyTemporaryId(Long cartonApplyTemporaryId)
    {
        this.cartonApplyTemporaryId = cartonApplyTemporaryId;
    }
    public Long getCartonApplyTemporaryId()
    {
        return cartonApplyTemporaryId;
    }

    public void setCartonTypeId(Long cartonTypeId)
    {
        this.cartonTypeId = cartonTypeId;
    }
    public Long getCartonTypeId()
    {
        return cartonTypeId;
    }

    public void setCartonType(String cartonType) {
        this.cartonType = cartonType;
    }
    public String getCartonType() {
        return cartonType;
    }

    public void setCartonSpecification(String cartonSpecification)
    {
        this.cartonSpecification = cartonSpecification;
    }
    public String getCartonSpecification()
    {
        return cartonSpecification;
    }

    public void setOriginCompany(String originCompany)
    {
        this.originCompany = originCompany;
    }
    public String getOriginCompany()
    {
        return originCompany;
    }

    public void setApplyAmount(Long applyAmount)
    {
        this.applyAmount = applyAmount;
    }
    public Long getApplyAmount()
    {
        return applyAmount;
    }

    public void setApplyTime(Date applyTime)
    {
        this.applyTime = applyTime;
    }
    public Date getApplyTime()
    {
        return applyTime;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }
    public Long getUserId()
    {
        return userId;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getUserName() {
        return userName;
    }

    public void setApprovalStatusProduct(Long approvalStatusProduct)
    {
        this.approvalStatusProduct = approvalStatusProduct;
    }
    public Long getApprovalStatusProduct()
    {
        return approvalStatusProduct;
    }

    public void setApprovalStatusTechnology(Long approvalStatusTechnology)
    {
        this.approvalStatusTechnology = approvalStatusTechnology;
    }
    public Long getApprovalStatusTechnology()
    {
        return approvalStatusTechnology;
    }

    public void setConsumeStatus(String consumeStatus)
    {
        this.consumeStatus = consumeStatus;
    }
    public String getConsumeStatus()
    {
        return consumeStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cartonApplyTemporaryId", getCartonApplyTemporaryId())
            .append("cartonTypeId", getCartonTypeId())
            .append("cartonSpecification", getCartonSpecification())
            .append("originCompany", getOriginCompany())
            .append("applyAmount", getApplyAmount())
            .append("applyTime", getApplyTime())
            .append("userId", getUserId())
            .append("approvalStatusProduct", getApprovalStatusProduct())
            .append("approvalStatusTechnology", getApprovalStatusTechnology())
            .append("consumeStatus", getConsumeStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
